{php}
    if (strpos($field['name'],'[')) {
        $field['id']=str_replace(']','',str_replace('[','',$field['name']));
      }else{
        $field['id']=$field['name'];
      }
      $field = array_merge($field,$field['options']);
      unset($field['options']);
{/php}
<div class="form-group item_{$field.name} {$field.extra_class}">
    <label for="{$field.name}" class="col-md-2 control-label">{$field.title|htmlspecialchars}</label>
    <div class="col-md-9">
         {:widget('common/editor/ueditor',[$field])}
        {notempty name="field.description"}<p class="help-block">{$field.description}</p>{/notempty}
    </div>
</div>
